package com.hdoit.kylin.logical.money.model;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;
/**
*@author liyaochong
*@email
*@createtime 2017年07月27日 14:46:24
*@comment
*/
@Entity
@Table(name="money_asset")
public class Asset extends ModelBase{
	//id
	@Id
	@Column(name="assetId")
	private String assetId;
	
	//工具名
	@Column(name="assetName")
	private String assetName;
	
	//购买时间
	@Column(name="buyDate")
	private Date buyDate;

	//使用年限
	@Column(name="useDate")
	private String useDate;

	//状态
	@Column(name="state")
	private String state;

	//数量
	@Column(name="number")
	private String number;

	//价格
	@Column(name="price")
	private float price;

	//购买人姓名
	@Column(name="buyerName")
	private String buyerName;

	//课题组id
	@Column(name="groupId")
	private String groupId;
	
	//课题组名称
	@Transient
	private String groupName;
	
	public String getAssetId() {
		return assetId;
	}

	public void setAssetId(String assetId) {
		this.assetId = assetId;
	}

	public String getAssetName() {
		return assetName;
	}

	public void setAssetName(String assetName) {
		this.assetName = assetName;
	}

	public Date getBuyDate() {
		return buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	public String getUseDate() {
		return useDate;
	}

	public void setUseDate(String useDate) {
		this.useDate = useDate;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public String getBuyerName() {
		return buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	

}